<%@ include file="/common/include.jsp" %>

<h3>Select the Graphic Parameters</h3>

<p>
	For generate a contribution graphic select each of the parameters required. When you press the button Generate, on the botton you will see some related basic statistics. 
</p>

<div class="bodygraphic">
	<div class="selector">
		<s:form>
		
			<s:select label="Graphic Type" list="graphics" headerKey="" headerValue="--Select an Option--" name="graphic" id="graphics" />
			
			<s:select label="Repository" list="repositories" headerKey="" headerValue="--Select an Option--" name="repository" id="repositories" />
			
			<s:select label="Metric" list="#{}" headerKey="" headerValue="--Select an Option--" name="metric" id="metrics" />
		
			<s:select label="Artifact" list="#{}" headerKey="" headerValue="--Select an Option--" name="type" id="types" />
			
			<s:select label="Operation" list="#{}" headerKey="" headerValue="--Select an Option--" name="status" id="status" />
			
			<s:textfield label="Start Date" name="startDate" id="start" />
			
			<s:textfield label="Finish Date" name="finishDate" id="finish" />
			
			<s:checkbox label="Order Developers By Name" name="order" id="orderByName" />
			
			<tr> 
    			<td colspan="2" align="right">
    				<input type="button" value="Generate" class="generate" /> 
				</td>
			</tr> 
		</s:form>
	</div>
	
	<div class="graphic">
		<img alt="" src="../images/spinner.gif" id="image">
	</div>
</div>

<div id="panelOptions">
	<hr />
	<%@include file="/report/additional-options.jsp" %>
</div>

<div id="panelStatistics">	
	<hr />
	<%@include file="/report/statistics.jsp" %>
</div>